import Vue from 'vue'
import Vuex from 'vuex'

import seller from './modules/seller'
import goods from './modules/goods'

const debug = process.env.NODE_ENV !== 'production'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    seller,
    goods,
  },
  strict: debug,
  // plugins: debug ? [createLogger()] : []
})

